<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >红包任务列表</a></li>

		</ul>
		<form class="well form-search" method="post" action="{:U('RedbagGame/gamelist')}">
		  任务状态：
			<select class="select_2" name="status">
				<option value="">全部</option>
				<option value="1" <if condition="$status eq '1'">selected</if> >进行中</option>
				<option value="2" <if condition="$status eq '2'">selected</if> >未拆开</option>
				<option value="3" <if condition="$status eq '3'">selected</if> >退款中</option>
				<option value="4" <if condition="$status eq '4'">selected</if> >已拆开</option>
				<option value="5" <if condition="$status eq '5'">selected</if> >已退款</option>
			</select>
			关键字： 
			<input type="text" name="keyword" style="width: 200px;" value="{$keyword}" placeholder="请输入会员ID、姓名、手机">
			<input type="submit" class="btn btn-primary" value="搜索">
		</form>				
		<form method="post" class="js-ajax-form" >

		
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="center">任务ID</th>
						<th>主题</th>
						<th>总人数</th>
						<th>每人支付</th>
						<th>已支付人数</th>
						<th>已支付金额</th>
						<th> 拼福状态</th>
						<th> 发布人</th>
						<th> 直播间id</th>
						<th> 更新时间</th>
						<th> 操作</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="lists" item="vo">
					<tr>
						<td align="center">{$vo['id']}</td>
						<td>{$vo.title} </td>
						<td>{$vo.num}</td>
						<td>{$vo.money}</td>
						<td>{$vo.already_num}</td>
						<td>{$vo.already_money}</td>
						<td>{$vo.status_txt}</td>
						<td>{$vo.user_nicename}</td>
						<td>{$vo.liveid}</td>
						<td>{$vo.createtime|date="Y-m-d H:i:s",###}</td>


						<td align="center">
						    <a href="{:U('RedbagGame/detaillist',array('id'=>$vo['id']))}" >查看详情</a>
							<!--<a href="{:U('RedbagGame/edit',array('id'=>$vo['uid']))}" >编辑</a>-->
							<!-- <a href="{:U('Cash/del',array('id'=>$vo['uid']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗？">删除</a>  -->
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>

		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>